/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.vwbe2.impl;

import elaborate.vwbe2.VWBEObject;
import elaborate.vwbe2.impl.HtmlUnitVWBEObject;
import elaborate.vwbe2.FunctionInvoker;

/**
 *
 * @author lendle
 */
public class HtmlUnitFunctionInvoker implements FunctionInvoker{

    @Override
    public Object invoke(VWBEObject obj, String functionName, Object... args) throws Exception {
        if(!(obj instanceof HtmlUnitVWBEObject)){
            throw new Exception("invalid obj type");
        }
        HtmlUnitVWBEObject vwbeObj=(HtmlUnitVWBEObject) obj;
    }
    
}
